package com.chang.dp.utils;

import java.util.HashMap;

public class MapUtil {
    private HashMap<String, Object> map;
    void MapUtil() {
        this.map = new HashMap<String, Object>();
    }
    public static MapUtil buildMap() {
        return new MapUtil();
    }

    public MapUtil add(String key, Object value) {
        this.map.put(key, value);
        return this;
    }
    public MapUtil delete(String key) {
        this.map.remove(key);
        return this;
    }
    public HashMap<String, Object> build () {
        return this.map;
    }
}
